Fix GNUStep issues with startup.
authorJan D. <jan.h.d@swipnet.se>
Sat, 7 Dec 2013 16:48:12 +0000 (17:48 +0100)
committerJan D. <jan.h.d@swipnet.se>
Sat, 7 Dec 2013 16:48:12 +0000 (17:48 +0100)
commit22185651d3f0cbe87eb61c64253008589d16397d
tree904ccdc4d76a031af89622f99a38055713c8e9ab
parentfd01cc0938033387715f65321b48531c59272218
Fix GNUStep issues with startup.

* nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled.

Pixel resize changes for NS.
* nsterm.m (x_set_window_size): Change parameters rows/cols to
height/width.  row/cols are locals.
Pass pixelwise to check_frame_size.  Don't set FRAME_PIXEL_WIDTH/HEIGHT.
(updateFrameSize:): Remove gsextra.  Adjust for pixelwise resize.
(windowWillResize): Remove gsextra.  Calculate extra as in
updateFrameSize.
(x_new_font): Don't change frame size if fullscreen.  Change
size pixelwise.

* nsterm.m (x_set_window_size): Remove fprintf.
(init): Define always.  Set applicationDidFinishLaunchingCalled
for GNUStep.
(applicationDidFinishLaunching:): Set
applicationDidFinishLaunchingCalled,
(applicationDidBecomeActive:): Call applicationDidFinishLaunching if
not called.
src/ChangeLog
src/nsterm.h
src/nsterm.m